<extend name="base"/>

<block name="extend">
<script language="javascript">
      $(document).ready(product_obj.list_tui); 
</script>

</block>


<block name="body">
<div id="news" class="r_con_wrap">
        <form class="r_con_search_form" id="search_form" action="{:U('Pintuan/list_tui')}" method="post">
			
			
			时间：<input name="Time" value="{$time}" type="text" class="form_input" size="20" readonly="readonly">
			关键字：<input name="Keyword" value="{$keyword}" type="text" class="form_input" size="15" >
			<input type="submit" class="search_btn" id="search_btn" value="搜索">
			<!-- <a href="{:U('Work/productExport')}"><input type="button" class="search_btn" id="export_btn" value="导出"></a> -->
			
		</form> 
        
        <table border="0" cellpadding="5" cellspacing="0" class="r_con_table">
            <thead>
                <tr>
                	<td width="10%" nowrap="nowrap">订单号</td>
                    <td width="10%" nowrap="nowrap">昵称</td>
                    
                    <td width="10%" nowrap="nowrap">商品名</td>
                    <td width="10%" nowrap="nowrap">购买数量</td>
                    <td width="10%" nowrap="nowrap">团购价</td>
                    <td width="10%" nowrap="nowrap">成团类型</td>
                    <td width="10%" nowrap="nowrap">成团编号</td>
                    <td width="10%" nowrap="nowrap">退款金额</td>
                    <td width="10%" nowrap="nowrap">审核状态</td>
        
                    <td width="10%" nowrap="nowrap" class="last">操作</td>
                </tr>
            </thead>
            <tbody>
                <foreach name="refundarr" item="v" key="k">
                <tr >
                    <td nowrap="nowrap">{$v.ordernumber}</td>
                    <td nowrap="nowrap">{$v.nickname}</td>
                    <td nowrap="nowrap">{$v.productname}</td>
                    <td nowrap="nowrap">{$v.productnumber}</td>
                    <td nowrap="nowrap">{$v.productprice}</td>
                    <td nowrap="nowrap">{$v.groupnumber}&nbsp;人团</td>
                    <td nowrap="nowrap">{$v.groupid}</td>
                    <td nowrap="nowrap">{$v.totalprice}</td>
                     <td nowrap="nowrap"> 
	                     <if condition="$v['status'] eq 0">未审核
		                    <elseif condition="$v['status'] eq 1"/>通过
		                    <else />未通过
		                  </if>
	                 </td>
	                 
 
                    <td class="last" nowrap="nowrap">
                    
                    	<if condition="$v.status eq 0"><a href="{:U('detail_tui',array('id'=>$v['id']))}"><img src="__PUBLIC__/Member/images/ico/mod.gif" align="absmiddle" alt="详情"  title="详情"/></a><else /><a href="{:U('detail_tui',array('id'=>$v['id']))}"><img src="__PUBLIC__/Member/images/ico/view.gif" align="absmiddle" alt="查看详情"  title="查看详情"/></a></if>
                        <if condition="$v.status eq 0"><a href="{:U('remind_tui',array('id'=>$v['id']))}"><img src="__PUBLIC__/Member/images/ico/duigou.png" align="absmiddle" alt="审核通过"  title="审核通过"/></a></if>
                        <if condition="$v.status eq 0"><a href="{:U('remind_ntui',array('id'=>$v['id']))}"><img src="__PUBLIC__/Member/images/ico/cancel.png" align="absmiddle" alt="审核不通过"  title="审核不通过"/></a></if>
                        <if condition="$v.status neq 0"><a href="{:U('delete_tui',array('id'=>$v['id']))}" title="删除" onClick="if(!confirm('删除后不可恢复，继续吗？')){return false};"><img src="__PUBLIC__/Member/images/ico/del.gif" align="absmiddle" /></a></if>
                    </td>
                </tr>
                </foreach>
            </tbody>
        </table>
        <div class="blank20"></div>
        <div id="turn_page">{$page}</div>
    </div>  

    </block>